package com.gitee.cashzhang27.test.boot.other.entity;

import static com.baomidou.mybatisplus.annotation.IdType.AUTO;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

/**
 * @author Cash Zhang
 * @version v1.0
 * @since 2019/02/16 21:47
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = false)
public class User extends Model<User> {

  private static final long serialVersionUID = -9047774649335649699L;

  @TableId(type = AUTO)
  private Integer id;
  private String username;
  private String password;
}
